package com.itheima.reggie.service;

import com.itheima.reggie.common.R;
import com.itheima.reggie.entity.Employee;
import com.itheima.reggie.entity.Page;

public interface EmployeeService {
    R<Employee> login(Employee employee);

    void save(Employee employee);

    Page<Employee> findByName(Integer page, Integer pageSize, String name);

    void update(Employee employee);

    R<Employee> findById(Integer id);
}
